// Decompiled by Jad v1.5.7f. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   IMailService.java

package com.iphaeton.lms.business.mail;

import com.iphaeton.common.helper.Pagination;
import com.iphaeton.exception.BusinessException;
import com.iphaeton.lms.pojo.mail.Mail;
import com.iphaeton.lms.pojo.organize.User;
import java.util.List;

public interface IMailService
{

    public abstract Mail findMailById(String s)
        throws BusinessException;

    public abstract Mail createMail(Mail mail)
        throws BusinessException;

    public abstract void sendMail(Mail mail, User user)
        throws BusinessException;

    public abstract Pagination findSendedMail(String s, String s1, Integer integer, int i)
        throws BusinessException;

    public abstract Pagination findReceivedMail(String s, Integer integer, int i)
        throws BusinessException;

    public abstract List findReceivedMail(String s, String s1, Integer integer, int i, int j)
        throws BusinessException;

    public abstract Pagination findRemovedMail(String s, int i)
        throws BusinessException;

    public abstract List findRemovedMail(String s, String s1, int i, int j)
        throws BusinessException;

    public abstract void removeSendedMail(String s)
        throws BusinessException;

    public abstract void removeReceivedMail(String s, String s1)
        throws BusinessException;

    public abstract List getMailDetail(String s)
        throws BusinessException;

    public abstract void deleteMail(String s, String s1)
        throws BusinessException;

    public abstract void clearMail(String s)
        throws BusinessException;

    public abstract void readedMark(String s, String s1)
        throws BusinessException;

    public abstract Integer mailCount(String s, String s1)
        throws BusinessException;

    public abstract List getSpecifiedMail(Pagination pagination)
        throws BusinessException;
}
